import { post, get } from '@/utils/request'

export default {
  create: form => post('/api/admin/video/create', form),
  deleteVideo: id => post('/api/admin/video/deleteVideo/' + id),
  pageList: query => post('/api/admin/video/pageList', query),
  getPlayAuth: videoSourceId => get('/api/admin/video/getPlayAuth/' + videoSourceId),
  remove: deleteFilter => post('/api/admin/video/remove', deleteFilter),
}